package com.ruoyi.trans.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.utils.DateUtils;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 运输单据对象 bus_transportation_doc
 * 
 * @author ruoyi
 * @date 2024-11-05
 */
public class BusTransportationDoc extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long dId;

    /** 供应商 */
    private Long supplier;

    @Excel(name = "供应商")
    private String supplierName;

    /** 车牌 */
    @Excel(name = "车牌")
    private String licensePlate;

    /** 司机 */
    @Excel(name = "司机")
    private String driver;

    /** 商品 */
    @Excel(name = "商品")
    private String goods;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    /** 数量 */
    @Excel(name = "数量")
    private String quantity;

    /** 下单日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date docDate;

    /** 下单时间段 */
    @Excel(name = "下单时间段")
    private Integer docTime;

    public void setdId(Long dId) 
    {
        this.dId = dId;
    }

    public Long getdId() 
    {
        return dId;
    }

    public void setSupplier(Long supplier) 
    {
        this.supplier = supplier;
    }

    public Long getSupplier() 
    {
        return supplier;
    }

    public String getSupplierName() {
        return supplierName;
    }
    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public void setLicensePlate(String licensePlate) 
    {
        this.licensePlate = licensePlate;
    }

    public String getLicensePlate() 
    {
        return licensePlate;
    }

    public void setDriver(String driver) 
    {
        this.driver = driver;
    }

    public String getDriver() 
    {
        return driver;
    }

    public void setGoods(String goods) 
    {
        this.goods = goods;
    }

    public String getGoods() 
    {
        return goods;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setQuantity(String quantity) 
    {
        this.quantity = quantity;
    }

    public String getQuantity() 
    {
        return quantity;
    }

    public void setDocDate(Date docDate) 
    {
        this.docDate = docDate;
    }

    public Date getDocDate() 
    {
        return docDate;
    }

    public void setDocTime(Integer docTime) 
    {
        this.docTime = docTime;
    }

    public Integer getDocTime() 
    {
        return docTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dId", getdId())
            .append("supplier", getSupplier())
            .append("licensePlate", getLicensePlate())
            .append("driver", getDriver())
            .append("goods", getGoods())
            .append("phone", getPhone())
            .append("quantity", getQuantity())
            .append("docDate", getDocDate())
            .append("docTime", getDocTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
